package com.cinnamon.rss.repository;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.cinnamon.rss.model.User;

public interface UserRepository extends CrudRepository<User, String> {

	User findByUsernameAndPassword(String username, String password);
	
	User findByUsername(String username);
	
	List<User> findAll();
	
}
